#pragma once

#include <stdio.h>
#include <stdint.h>
#include <math.h>

#include <SDL2/SDL.h>

#define FPS 30
#define FRAME_TIME_LENGTH (1000 / FPS)

#define TILE_SIZE 64

#define WINDOW_WIDTH 400
#define WINDOW_HEIGHT 300

#define FOV_ANGLE (60 * M_PI / 180)
#define NUM_RAYS WINDOW_WIDTH

#define distProjPlane (float)((WINDOW_WIDTH / 2) / tan(FOV_ANGLE / 2))

#define NUM_TEXTURES 9

typedef uint32_t colour_t;
